<div id="main">
    <div id="posts-wrapper">
        <div class="post-item">
            <h3><?php echo $data['post']->getTitle();?></h3>
            <p><?php echo $data['post']->getContent();?></p>
        </div>
    </div>
</div>